﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Olympic_email_to_future.Module;

namespace FutureMeWeb
{
    public partial class about : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["User"] != null)
            {
                UserInfo user = (UserInfo)Session["User"];
                AccountBtn.Text = user.userMailAddress;
                LoginBtn.Visible = false;
                RegisterBtn.Visible = false;
            }
            else
            {
                AccountBtn.Visible = false;
                LogoffBtn.Visible = false;
            };
        }
    }
}